]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
messageTray: Remove a lot of dead signals
authorJasper St. Pierre <jstpierre@mecheye.net>
Fri, 2 Aug 2013 04:08:33 +0000 (00:08 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Tue, 6 Aug 2013 14:36:36 +0000 (10:36 -0400)
js/ui/messageTray.js

index 9705fcb5def04afd4ab3b0a181d00c5fb8e19b1d..168d66c1dab71961b0828fa0554d9d34aef09126 100644 (file)
@@ -1031,7 +1031,6 @@ const Notification = new Lang.Class({
 
         // Restore height requisition
         this.actor.add_style_class_name('notification-unexpanded');
-        this.emit('collapsed');
     },
 
     _onActionInvoked: function(actor, mouseButtonClicked, id) {
@@ -1361,8 +1360,8 @@ const Source = new Lang.Class({
         this.iconUpdated();
     },
 
-    open: function(notification) {
-        this.emit('opened', notification);
+    // To be overridden by subclasses
+    open: function() {
     },
 
     destroyNonResidentNotifications: function() {
@@ -2760,7 +2759,6 @@ const MessageTray = new Lang.Class({
         this._clickedSummaryItemMouseButton = button;
 
         if (this._clickedSummaryItem) {
-            this._clickedSummaryItem.source.emit('summary-item-clicked', button);
             this._clickedSummaryItem.actor.add_style_pseudo_class('selected');
             this._clickedSummaryItemAllocationChangedId =
                 this._clickedSummaryItem.actor.connect('allocation-changed',